#pragma once
#include <string>
#include <vector>
#include <map>
namespace Poco {
	namespace Util {
		class LayeredConfiguration;
	}
}

class LastModify
{
public:
	LastModify(Poco::Util::LayeredConfiguration& config);
	void createSrcLM(std::map<std::string, time_t>& map);
	void createSrcsLM(std::map<std::string, time_t>& map);
	~LastModify();
private:
	void createLM(const std::string &dirname,std::map<std::string,time_t>& map);
	const Poco::Util::LayeredConfiguration& _config;
};

